﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace XXVIII.Api.Models
{
    /// <summary>
    /// 通用增加请求体
    /// </summary>
    public class GeneralAddRequest
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 增加的键值
        /// </summary>
        public List<GeneralColumnRequest> Columns { get; set; }
    }
    
    /// <summary>
    /// 单一键值
    /// </summary>
    public class GeneralColumnRequest
    {
        /// <summary>
        /// 列名
        /// </summary>
        public string ColumnName { get; set; }

        /// <summary>
        /// 列值
        /// </summary>
        public string ColumnValue { get; set; }
    }
}